package com.tool.demo.multiconn.common2;


import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p></p>
 *
 * @author 
 * @date 2022/5/20
 */
public class Test {

    public static final String SUFFIX = "-Service";
    @Autowired
    BizServiceLoader bizServiceLoader;

    public void getBean(BizServiceType type) {
        bizServiceLoader.getMap().get(type.getCode() + SUFFIX).query();
    }

}
